<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: src/ir_MilesTag2.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IRremoteESP8266
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">ir_MilesTag2.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Support for the MilesTag2 IR protocol for LaserTag gaming.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a4f436018ecf899050cc2da2d5a04f7c0"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__MilesTag2_8cpp.html#a4f436018ecf899050cc2da2d5a04f7c0">kMilesTag2ShotMask</a> = 1 &lt;&lt; (<a class="el" href="IRremoteESP8266_8h.html#ae29b9f5dd6db067c17917417a3524905">kMilesTag2ShotBits</a> - 1)</td></tr>
<tr class="separator:a4f436018ecf899050cc2da2d5a04f7c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae92d8fa6c1c2e2320feb545a47aa3107"><td class="memItemLeft" align="right" valign="top">const uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__MilesTag2_8cpp.html#ae92d8fa6c1c2e2320feb545a47aa3107">kMilesTag2MsgMask</a> = 1 &lt;&lt; (<a class="el" href="IRremoteESP8266_8h.html#a09f5246478103197630f269ccb3b8c40">kMilesTag2MsgBits</a> - 1)</td></tr>
<tr class="separator:ae92d8fa6c1c2e2320feb545a47aa3107"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab61102a594ad830baea09c17bb585f6d"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__MilesTag2_8cpp.html#ab61102a594ad830baea09c17bb585f6d">kMilesTag2MsgTerminator</a> = 0xE8</td></tr>
<tr class="separator:ab61102a594ad830baea09c17bb585f6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5598d2d156a1db3125f0e8a397cd137"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__MilesTag2_8cpp.html#af5598d2d156a1db3125f0e8a397cd137">kMilesTag2HdrMark</a> = 2400</td></tr>
<tr class="separator:af5598d2d156a1db3125f0e8a397cd137"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebc0f5dd66afa1556b25d9874a138b9d"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__MilesTag2_8cpp.html#aebc0f5dd66afa1556b25d9874a138b9d">kMilesTag2Space</a> = 600</td></tr>
<tr class="memdesc:aebc0f5dd66afa1556b25d9874a138b9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">uSeconds.  <a href="ir__MilesTag2_8cpp.html#aebc0f5dd66afa1556b25d9874a138b9d">More...</a><br /></td></tr>
<tr class="separator:aebc0f5dd66afa1556b25d9874a138b9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add084d40b9b206e86497b565f558c968"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__MilesTag2_8cpp.html#add084d40b9b206e86497b565f558c968">kMilesTag2OneMark</a> = 1200</td></tr>
<tr class="memdesc:add084d40b9b206e86497b565f558c968"><td class="mdescLeft">&#160;</td><td class="mdescRight">uSeconds.  <a href="ir__MilesTag2_8cpp.html#add084d40b9b206e86497b565f558c968">More...</a><br /></td></tr>
<tr class="separator:add084d40b9b206e86497b565f558c968"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acceb49cb744e69d73c13ca234b300392"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__MilesTag2_8cpp.html#acceb49cb744e69d73c13ca234b300392">kMilesTag2ZeroMark</a> = 600</td></tr>
<tr class="memdesc:acceb49cb744e69d73c13ca234b300392"><td class="mdescLeft">&#160;</td><td class="mdescRight">uSeconds.  <a href="ir__MilesTag2_8cpp.html#acceb49cb744e69d73c13ca234b300392">More...</a><br /></td></tr>
<tr class="separator:acceb49cb744e69d73c13ca234b300392"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa87dd4bd7d51c91df882f161a548de0b"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__MilesTag2_8cpp.html#aa87dd4bd7d51c91df882f161a548de0b">kMilesTag2RptLength</a> = 32000</td></tr>
<tr class="memdesc:aa87dd4bd7d51c91df882f161a548de0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">uSeconds.  <a href="ir__MilesTag2_8cpp.html#aa87dd4bd7d51c91df882f161a548de0b">More...</a><br /></td></tr>
<tr class="separator:aa87dd4bd7d51c91df882f161a548de0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d6e6059094b8579e2344488f8b962fe"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__MilesTag2_8cpp.html#a3d6e6059094b8579e2344488f8b962fe">kMilesTag2StdFreq</a> = 38000</td></tr>
<tr class="memdesc:a3d6e6059094b8579e2344488f8b962fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">uSeconds.  <a href="ir__MilesTag2_8cpp.html#a3d6e6059094b8579e2344488f8b962fe">More...</a><br /></td></tr>
<tr class="separator:a3d6e6059094b8579e2344488f8b962fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada2b524ac46dda1c888fcd44a2929ce9"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__MilesTag2_8cpp.html#ada2b524ac46dda1c888fcd44a2929ce9">kMilesTag2StdDuty</a> = 25</td></tr>
<tr class="memdesc:ada2b524ac46dda1c888fcd44a2929ce9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hz.  <a href="ir__MilesTag2_8cpp.html#ada2b524ac46dda1c888fcd44a2929ce9">More...</a><br /></td></tr>
<tr class="separator:ada2b524ac46dda1c888fcd44a2929ce9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Support for the MilesTag2 IR protocol for LaserTag gaming. </p>
<dl class="section see"><dt>See also</dt><dd><a href="http://hosting.cmalton.me.uk/chrism/lasertag/MT2Proto.pdf">http://hosting.cmalton.me.uk/chrism/lasertag/MT2Proto.pdf</a> </dd>
<dd>
<a href="https://github.com/crankyoldgit/IRremoteESP8266/issues/1360">https://github.com/crankyoldgit/IRremoteESP8266/issues/1360</a> </dd></dl>
</div><h2 class="groupheader">Variable Documentation</h2>
<a id="af5598d2d156a1db3125f0e8a397cd137"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5598d2d156a1db3125f0e8a397cd137">&#9670;&nbsp;</a></span>kMilesTag2HdrMark</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kMilesTag2HdrMark = 2400</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae92d8fa6c1c2e2320feb545a47aa3107"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae92d8fa6c1c2e2320feb545a47aa3107">&#9670;&nbsp;</a></span>kMilesTag2MsgMask</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint32_t kMilesTag2MsgMask = 1 &lt;&lt; (<a class="el" href="IRremoteESP8266_8h.html#a09f5246478103197630f269ccb3b8c40">kMilesTag2MsgBits</a> - 1)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab61102a594ad830baea09c17bb585f6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab61102a594ad830baea09c17bb585f6d">&#9670;&nbsp;</a></span>kMilesTag2MsgTerminator</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint8_t kMilesTag2MsgTerminator = 0xE8</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="add084d40b9b206e86497b565f558c968"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add084d40b9b206e86497b565f558c968">&#9670;&nbsp;</a></span>kMilesTag2OneMark</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kMilesTag2OneMark = 1200</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>uSeconds. </p>

</div>
</div>
<a id="aa87dd4bd7d51c91df882f161a548de0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa87dd4bd7d51c91df882f161a548de0b">&#9670;&nbsp;</a></span>kMilesTag2RptLength</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kMilesTag2RptLength = 32000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>uSeconds. </p>

</div>
</div>
<a id="a4f436018ecf899050cc2da2d5a04f7c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f436018ecf899050cc2da2d5a04f7c0">&#9670;&nbsp;</a></span>kMilesTag2ShotMask</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kMilesTag2ShotMask = 1 &lt;&lt; (<a class="el" href="IRremoteESP8266_8h.html#ae29b9f5dd6db067c17917417a3524905">kMilesTag2ShotBits</a> - 1)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aebc0f5dd66afa1556b25d9874a138b9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebc0f5dd66afa1556b25d9874a138b9d">&#9670;&nbsp;</a></span>kMilesTag2Space</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kMilesTag2Space = 600</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>uSeconds. </p>

</div>
</div>
<a id="ada2b524ac46dda1c888fcd44a2929ce9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada2b524ac46dda1c888fcd44a2929ce9">&#9670;&nbsp;</a></span>kMilesTag2StdDuty</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kMilesTag2StdDuty = 25</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Hz. </p>

</div>
</div>
<a id="a3d6e6059094b8579e2344488f8b962fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d6e6059094b8579e2344488f8b962fe">&#9670;&nbsp;</a></span>kMilesTag2StdFreq</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kMilesTag2StdFreq = 38000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>uSeconds. </p>

</div>
</div>
<a id="acceb49cb744e69d73c13ca234b300392"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acceb49cb744e69d73c13ca234b300392">&#9670;&nbsp;</a></span>kMilesTag2ZeroMark</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kMilesTag2ZeroMark = 600</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>uSeconds. </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
